<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <title><@spring.message '管理后台' /></title>
<#include "/admin/main/include/link_head.ftl"/>
</head>

<body class="horizontal-menu-page">

<section>

    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse"
                        data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<@spring.url '/index.do' />">
                    <img src="<@spring.url '/admin/resources/plugins/${lang}/adminex/images/logo.png' />" alt="">
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                <#if (rootMenuDetails??)&&(rootMenuDetails?size>0)>
                    <#list rootMenuDetails as rootMenuDetail>
                        <li><a href="<@spring.url '/admin/left?id=${rootMenuDetail.id}' />"
                               target="left">${rootMenuDetail.name}</a></li>
                    </#list>
                </#if>
                </ul>

                <ul class="nav navbar-nav navbar-right">
                    <li style="display: none;">
                        <form class="navbar-form navbar-left" role="search">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="Search">
                            </div>
                        </form>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">${admin.usern}</a>
                    </li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
    <!--body wrapper start-->
    <div style="position: absolute; height: 100%;width: 98.8%;">
        <div class="row" style="height: 100%;">
            <div class="col-md-2" style="height: 100%;padding: 0;">
                <iframe name="left" id="left" src="<@spring.url '/admin/left' />" scrolling="no" frameborder="0"
                        style="width: 100%;height: 100%;background: #424f63;"></iframe>
            </div>
            <div class="col-md-10" style="height: 100%;padding: 0;">
                <iframe name="right" id="right" src="<@spring.url '/admin/main' />" scrolling="no" frameborder="0"
                        style="width: 100%;height: 100%;"></iframe>
            </div>
        </div>
    </div>
    <!--body wrapper end-->
    <!--footer section start-->
    <footer class="sticky-footer" style="padding: 2px;text-align: right;padding-right: 20px;">
        Copyright ©<@spring.message '山东捷瑞数字科技股份有限公司'/>
    </footer>
    <!--footer section end-->
</section>

</body>
</html>
<#include "/admin/main/include/link_foot.ftl"/>